package com.hnas.core.jms.artifact;

import com.hnas.core.jms.JobArtifact;

public class RefreshFlightArtifact  extends JobArtifact{


	/**
	 * 
	 */
	private static final long serialVersionUID = -4023063700028982614L;

	private long cartId;

	private boolean sucess = false;
	private int retry;
	
	public RefreshFlightArtifact() {
		this(	"HU");
	}
	public RefreshFlightArtifact(String airline) {
		super("RefreshFlightArtifact", "RefreshFlightArtifact",
				airline);
	}
//	@Override
	public String toString() {
		return "cartId=" + cartId + "&sucess=" + sucess + "&retry=" + retry
				+ "&getOperation()=" + getOperation() + "&getMessageType()="
				+ getMessageType() + "&getOperateTimes()=" + getOperateTimes()
				+ "&getAirline()=" + getAirline() + "&isSucess()=" + isSucess()
				+ "&getRetry()=" + getRetry();
	}
	public long getCartId() {
		return cartId;
	}
	public void setCartId(long cartId) {
		this.cartId = cartId;
	}
	public boolean isSucess() {
		return sucess;
	}
	public void setSucess(boolean sucess) {
		this.sucess = sucess;
	}
	public int getRetry() {
		return retry;
	}
	public void setRetry(int retry) {
		this.retry = retry;
	}

}
